﻿<div class="page">
	<div class="pageContent">
	<form method="post" action="/?g=admin&m=news&a=csave" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<input type="hidden" name="t" value="edt" />
		<input type="hidden" name="id" value="{$S_id}" />
		<div class="pageFormContent" layoutH="58">
		<div class="unit">
			<label>标题：</label>
			<input type="text" class="required" name="title" value="{$S_title}"/>
		</div>		
		<div class="unit">
			<label>所属类型：</label>
			<select name="cid" id="cid">
				<for name="i" start="1" end="10">
				<eq name="$S_cid" value="$i">
				<option value="{$i}" selected="selected">--{$i}--</option>
				<else/>
				<option value="{$i}">--{$i}--</option>
				</eq>
				</for>
            </select>
		</div>
		<div class="unit">
			<label>父级类型：</label>
			<select name="pid" id="pid">
				<for name="i" start="1" end="10">
				<eq name="$S_pid" value="$i">
				<option value="{$i}" selected="selected">{$i}</option>
				<else/>
				<option value="{$i}">{$i}</option>
				</eq>
				</for>
            </select>
		</div>
		<div class="unit">
			<label>排序：</label>
			<input type="text" name="px" size="20" maxlength="30" value="{$S_px}"/>
		</div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	</div>
</div>